import base from "./base.js";

export default class extends base {
  //  渲染页面函数
  render() {
    this.$el.html(`
      <div class="layui-layout layui-layout-admin">
      <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black"><span style="font-size:26px;color:#009688;margin-left:20px">猫眼后台<span></div>
          <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
              <i class="layui-icon layui-icon-spread-left"></i>
            </li>
          </ul>
          <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
              <a href="javascript:;">
                <img src="" class="layui-nav-img">
                admin
              </a>
              <dl class="layui-nav-child">
                <dd><a href="">Your Profile</a></dd>
                <dd><a href="">Settings</a></dd>
                <dd><a href="">Sign out</a></dd>
              </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
              <a href="javascript:;">
                <i class="layui-icon layui-icon-more-vertical"></i>
              </a>
            </li>
          </ul>
        </div>
        <div class="layui-side layui-bg-black">
          <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
              <li class="layui-nav-item layui-nav-itemed">
              <a style="display:flex;align-content:center"><i class="layui-icon layui-icon-tabs" style="font-size: 16px;color: #009688;margin-right:8px;"></i><span>电影管理</span></a>
              <dl class="layui-nav-child">
                <dd><a href="#/info/movies">电影列表</a></dd>
                <dd><a href="#/info/addMovies">新增电影</a></dd>
              </dl>
              </li>
              <li class="layui-nav-item">
              <a style="display:flex;align-content:center"><i class="layui-icon layui-icon-chart-screen" style="font-size: 16px;color: #009688;margin-right:8px;"></i><span>影院管理</span></a>
                <dl class="layui-nav-child">
                    <dd><a href="#/info/cinemas">影院管理</a></dd>
                    <dd><a href="#/info/add-cinema">新增影院</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item">
              <a style="display:flex;align-content:center"><i class="layui-icon layui-icon-form" style="font-size: 16px;color: #009688;margin-right:8px;"></i><span>排片管理</span></a>
                <dl class="layui-nav-child">
                    <dd><a href="#/info/sort-movies">排片管理</a></dd>
                    <dd><a href="#/info/addSortMovies">新增排片</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item">
              <a style="display:flex;align-content:center"><i class="layui-icon layui-icon-video" style="font-size: 16px;color: #009688;margin-right:8px;"></i><span>放映厅管理</span></a>
                <dl class="layui-nav-child">
                    <dd><a href="#/info/theaters">放映厅列表</a></dd>
                    <dd><a href="#/info/adTtheaters">新增放映厅</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item">
              <a style="display:flex;align-content:center"><i class="layui-icon layui-icon-table" style="font-size: 16px;color: #009688;margin-right:8px;"></i><span>座位管理</span></a>
                <dl class="layui-nav-child">
                    <dd><a href="">座位管理</a></dd>
                    <dd><a href="#/info/addSeats">新增座位</a></dd>
                    <dd><a href="">座位管理</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item">
              <a style="display:flex;align-content:center"><i class="layui-icon layui-icon-table" style="font-size: 16px;color: #009688;margin-right:8px;"></i><span>订单管理</span></a>
                <dl class="layui-nav-child">
                    <dd><a href="#/info/order">订单管理</a></dd>
                </dl>
              </li>
              <li class="layui-nav-item">
                <a style="display:flex;align-content:center"><i class="layui-icon layui-icon-group" style="font-size: 16px;color: #009688;margin-right:8px;"></i><span>用户管理</span></a>
                <dl class="layui-nav-child">
                    <dd><a href="#/info/customer">前台用户</a></dd>
                    <dd><a href="#/info/admin">管理员</a></dd>
                </dl>
              </li>
            </ul>
          </div>
        </div>
        <div class="layui-body" style="background-color:#FAFAFA">
          <div class="layui-bg-gray" style="padding:30px;">
            <div class="layui-row layui-col-space15" >
              <div class="layui-col-md12" >
                <div class="layui-card">
                <div class="info-content layui-card-body">
                </div>
              </div>
            </div>
        </div>
      </div> 
       


        </div>
      </div>
    </div>
    `)

  }

}
